@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  body {
    background-color: rgba(245, 245, 245, 1);
  }
}
@layer utilities {
  .scrollbar::-webkit-scrollbar {
    width: 15px;
    height: 20px;
  }

  .scrollbar::-webkit-scrollbar-track {
    border-radius: 100vh;
    background: #f7f4ed;
  }

  .scrollbar::-webkit-scrollbar-thumb {
    background: #e0cbcb;
    border-radius: 100vh;
    border: 3px solid #f6f7ed;
  }

  .scrollbar::-webkit-scrollbar-thumb:hover {
    background: #c0a0b9;
  }
}

/* 按钮 */
body .ant-popover .ant-btn-primary {
  background-color: #1890ff !important;
}
body .ant-btn-primary[disabled],
.ant-btn-primary[disabled]:hover,
.ant-btn-primary[disabled]:focus,
.ant-btn-primary[disabled]:active {
  color: #ffffff4d;
  border-color: #434343;
  background: #555;
  text-shadow: none;
  box-shadow: none;
}
.ant-btn[disabled] {
  cursor: not-allowed;
}
.ant-btn {
  line-height: 10px !important;
  border-radius: 4px;
  height: 30px !important;
}
/* 输入框 */

body .ant-input {
  border-radius: 4px;
  border-color: #d9d9d9;
  height: 30px !important;
  font-size: 12px;
}

/* 带有后缀的输入框 */
body .ant-input-affix-wrapper {
  border-radius: 4px;
  border-color: #d9d9d9;
  height: 30px;
  font-size: 12px;
  padding-top: 0;
  padding-bottom: 0;
}
body .ant-input-affix-wrapper .ant-input {
  height: 100%;
}
body .ant-input-affix-wrapper > input.ant-input {
  height: 28px !important;
}
/* 下拉框 */
body .ant-select-single .ant-select-selector .ant-select-selection-item {
  line-height: 28px !important;
}
body .ant-select-single.ant-select:not(.ant-select-customize-input) .ant-select-selector {
  border-color: #d9d9d9;
  border-radius: 4px;
  min-height: 28px !important;
  height: 30px;
}
/* body .ant-select:not(.ant-select-customize-input) .ant-select-selector {
  
} */
body .ant-select-multiple.ant-select:not(.ant-select-customize-input) .ant-select-selector {
  border-color: #d9d9d9;
  border-radius: 4px;
  min-height: 30px !important;
  height: 30px;
}

body .ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder {
  display: flex;
  align-items: center;
}

body .table-cell .ant-select:not(.ant-select-customize-input) .ant-select-selector {
  border-radius: 0;
  height: 32px;
}

body .ant-select-selection-placeholder {
  color: #999999 !important;
  line-height: 34px !important;
  font-size: 13px !important;
}

body .ant-select-multiple .ant-select-selection-item {
  height: 21px !important;
  line-height: 17px !important;
}
body .ant-select-multiple .ant-select-selection-item-remove > .anticon {
  vertical-align: 0;
}
body .ant-select-clear {
  margin-top: -9px;
}
/* 多选框 */
body .ant-checkbox-wrapper {
  color: #666666;
}

/* 图片预览 */
body .ant-image-preview-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 输入框 */

body .ant-input,
body .ant-input-number {
  border-radius: 4px;
  border-color: #d9d9d9;
}
body textarea.ant-input {
  min-height: 80px;
}
/* 数字输入框 */

/* 多选框 */
body .ant-checkbox-wrapper {
  color: #666666;
}

/* 模态框 */
body .detail-class {
  top: -50px;
}
/* body .ant-modal{
  width: 84vw!important;
  height: 80vh!important;
} */

/* 按钮圆角 */
.round {
  border-radius: 4px;
  border-color: #006ab2;
  margin-right: 15px;
}

.cbd9e55 {
  color: #bd9e55;
}

.text-xl {
  font-size: 22px;
}
/* npm搜索框 */
body :deep(.lableCancle .ant-form-item-label > label) {
  width: 0;
}
/* 全局字体 */
* {
  font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
}
.submitButton1 {
  color: #ffffff !important;
  line-height: 40px !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  text-align: center !important;
  background-color: #1e98d7 !important;
  border-radius: 5px !important;
  width: 140px !important;
  height: 40px !important;

  border: none !important;
}

/* .ant-modal-title>div,
.ant-modal-body #IVTable th{
  background-color: #eadcb9 !important;
}
.ant-modal-body #IVTable .table-cell {
  border: 1px solid #bd9e55;
} */

body .ant-form-item-control-input {
  min-height: 30px;
}
body .ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input {
  height: 30px !important;
}
